package jaoso.framework.domain;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.io.Serializable;

import java.util.Date;

/** @author Hibernate CodeGenerator */
public class Manager implements Serializable
{
    /** nullable persistent field */
    private Date createdate;

    /** nullable persistent field */
    private Date lastdate;

    /** persistent field */
    private String answer;

    /** nullable persistent field */
    private String email;

    /** identifier field */
    private String id;

    /** nullable persistent field */
    private String name;

    /** nullable persistent field */
    private String phone;

    /** nullable persistent field */
    private String qq;

    /** nullable persistent field */
    private String question;

    /** nullable persistent field */
    private String sex;

    /** full constructor */
    public Manager(String name, String sex, String email, String qq,
            String phone, String question, String answer, Date createdate,
            Date lastdate)
    {
        this.name = name;
        this.sex = sex;
        this.email = email;
        this.qq = qq;
        this.phone = phone;
        this.question = question;
        this.answer = answer;
        this.createdate = createdate;
        this.lastdate = lastdate;
    }

    /** default constructor */
    public Manager()
    {
    }

    /** minimal constructor */
    public Manager(String answer)
    {
        this.answer = answer;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param answer
     *            DOCUMENT ME!
     */
    public void setAnswer(String answer)
    {
        this.answer = answer;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getAnswer()
    {
        return this.answer;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param createdate
     *            DOCUMENT ME!
     */
    public void setCreatedate(Date createdate)
    {
        this.createdate = createdate;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public Date getCreatedate()
    {
        return this.createdate;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param email
     *            DOCUMENT ME!
     */
    public void setEmail(String email)
    {
        this.email = email;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getEmail()
    {
        return this.email;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param id
     *            DOCUMENT ME!
     */
    public void setId(String id)
    {
        this.id = id;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getId()
    {
        return this.id;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param lastdate
     *            DOCUMENT ME!
     */
    public void setLastdate(Date lastdate)
    {
        this.lastdate = lastdate;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public Date getLastdate()
    {
        return this.lastdate;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param name
     *            DOCUMENT ME!
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getName()
    {
        return this.name;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param phone
     *            DOCUMENT ME!
     */
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getPhone()
    {
        return this.phone;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param qq
     *            DOCUMENT ME!
     */
    public void setQq(String qq)
    {
        this.qq = qq;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getQq()
    {
        return this.qq;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param question
     *            DOCUMENT ME!
     */
    public void setQuestion(String question)
    {
        this.question = question;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getQuestion()
    {
        return this.question;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param sex
     *            DOCUMENT ME!
     */
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String getSex()
    {
        return this.sex;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public String toString()
    {
        return new ToStringBuilder(this).append("id", getId()).toString();
    }
}